package com.hoshiicloud.goods.param.sku;

import com.hoshiicloud.common.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 查询商品sku分配参数
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询商品sku分配", description = "查询商品sku分配")
public class ProductManageQueryParam extends PageParam {


    @ApiModelProperty(value = "租户ID")
    private Long companyId;

    @ApiModelProperty(value = "平台ID")
    private Long platformId;

    @ApiModelProperty(value = "店铺ID")
    private Long storeId;
    @ApiModelProperty(value = "来源 1-租户  2-平台 3-店铺")
    private Integer source;

    @ApiModelProperty(value = "SKUID")
    private Long skuId;

    @ApiModelProperty(value = "SKUNO")
    private String skuNo;

    @ApiModelProperty(value = "商品名称")
    private String skuName;

    @ApiModelProperty(value = "规格")
    private String spec;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "分配数量")
    private BigDecimal quantity;

    @ApiModelProperty(value = "销售数量")
    private BigDecimal salesQuantity;

    @ApiModelProperty(value = "冻结数量")
    private BigDecimal freezes;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "修改人")
    private String updatedBy;

    @ApiModelProperty(value = "baseSkuId")
    private Long baseSkuId;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    @ApiModelProperty("已经添加商品的集合")
    public List<String> baseSkuIdList;
}
